<template>
	<div class="a">
		<van-nav-bar
		  class="fix_header"	
		  title="设置"
		  left-arrow
		  @click-left="onClickLeft"
		>		
		  <van-icon name="arrow-left" slot="left" color="#000" size="20"/>
	    </van-nav-bar>	
	    <div class="fix_next"></div>
         
         
        <div class="margin10">
        	<van-cell title="个人资料设置" is-link  @click="link('/market/manager/personal')"/>
        	<van-cell title="收货地址" is-link @click="link('/market/manager/addressIndex')"/>
        	<van-cell title="黑名单" is-link  @click="building"/>
        	<van-cell title="隐私" is-link  @click="building"/>
        	<van-cell title="关于集市" is-link  @click="building"/>
        </div> 
	    
	    <div class="footer">
	    	<div class="clear">清除缓存</div>
	    	<div class="out">
	    	   <van-button  block color="#F22613" @click="out">退出登录</van-button>
	    	</div>
	    </div>
	    
	</div>	
</template>

<script>
import {getFun} from '@/api/publicFun.js'	 
let publicFun=getFun()	
export default {	
	name:'setIndex',
	data() {
       return {
    
       }
	},
	methods: {	
       building(){
       	  this.link('/otherFun/buildIng')
       },
	   out(){
	   	  // console.log(11)
		  this.backAppIndex()
	   }       
	},
	mixins:[publicFun],//混入		
	mounted() {

	}
}	
</script>

<style scoped="">
.a{background: #f8f8f8;min-height: 100%;width: 100%;position: absolute;}
.a *{box-sizing: border-box;}	
.margin10{margin: 10px 0;}
.footer{background: #fff;position: absolute;bottom: 0;left: 0;width: 100%;}
.clear{padding: 15px;font-size: 13px;color: #333;}
.out{padding: 10px 30px 20px;}
.van-button__text{color: #fff;}
</style>